﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <!-- Header Information -->
    <title>AdviseUP - Log In</title>
    <link rel="icon" type="image/ico" href="~/Images/UPlogo.ico" />
</head>
<body>
    <form id="form1" runat="server">
    <!-- Logo -->
    <div style="margin-left:25%; width:50%; text-align:center;">
       <asp:Image ID="logo" runat="server" ImageUrl="~/Images/logo.png" height="78px" Width = "275px" />
    </div>
    <!-- Login Box -->
    <div style="float:left; margin-top:15px; border-style:solid; border-width:2px; height:200px; margin-left:25%; width:50%; text-align:center;">
        <!-- Header -->
        <div style="border-style:solid; border-color:#444444; width:100%; border-left-width:0px; border-top-width:0px; border-right-width:0px; background-color:#BBBBBB; height:24px;">
            Please Sign In to Access AdviseUP
        </div>
        <!-- Body -->
        <center><br />
        <table><tr>
        <td>User Name: <br />Password: </td>
        <td>
            <asp:TextBox ID="LoginNameBox" runat="server"></asp:TextBox><br />
            <asp:TextBox ID="LoginPassBox" runat="server" TextMode="Password"></asp:TextBox>
        </td>
        </tr></table>
        <asp:Button ID="LoginButton" runat="server" OnClick="LoginBox_Authenticate" Text="Log In"/><br />
        <span style="color:Red;"><asp:Label ID="LoginFailureLabel" runat="server"></asp:Label></span>
        <span style="color:Green;"><asp:Label ID="LogoutSuccessLabel" runat="server"></asp:Label></span>
        </center>
    </div>
    <!-- Disclaimer -->
    <div style="margin-left:25%; width:50%; text-align:center;">
        AdviseUP is for advisory purposes only. It is not contractual.<br />
    </div>
    </form>
</body>
</html>
